//
// import 'package:flutter/cupertino.dart';
// import 'package:flutter/material.dart';
// import 'package:flutter_boost/container/boost_container.dart';
// import 'package:flutter_boost/flutter_boost.dart';
//
// class SecondRoutePage extends StatelessWidget {
//   static String routeName = 'flutter://SecondRoutePage';
//   final Map arguments;
//   SecondRoutePage({Key key, this.arguments}) : super(key: key);
//   @override
//   Widget build(BuildContext context) {
//     return Scaffold(
//       appBar: AppBar(
//         title: const Text('Second Route'),
//       ),
//       body: Center(
//         child: RaisedButton(
//           onPressed: () {
//             final BoostContainerSettings settings =
//                 BoostContainer.of(context).settings;
//             FlutterBoost.singleton.close(
//               settings.uniqueId,
//               result: <String, dynamic>{'result': 'data from second'},
//             );
//           },
//           child: const Text('Go back with result!'),
//         ),
//       ),
//     );
//   }
// }